//
//  UINavigationController+Pus.m
//  极致荟
//
//  Created by hetao on 14-5-13.
//  Copyright (c) 2014年 mac. All rights reserved.
//

#import "UINavigationController+Pus.h"

@implementation UINavigationController (Pus)
static int i=0;
+ (void)Pus:(UIViewController *)controller ToViewconeroller:(UIViewController *)tocontroller
{
   // [[JZHTabbarViewController shareInstance] hideTabBar2];
    i=1;
    [[JZHTabbarViewController shareInstance] hideTabBar2];
    [controller.navigationController pushViewController:tocontroller animated:YES];
}
+ (void)Pop:(UIViewController *)controller 
{
    i=0;
    [controller.navigationController popViewControllerAnimated:YES];
}
+ (int)miancerr
{
    return i;
}
@end
